using System;
using System.Collections.Generic;
using System.Text;
using System.Data;
using System.Data.SqlClient;
using System.Configuration;

namespace ETUDataControls
{
    internal class Connection
    {
        private string connectString;

        public string ConnectString
        {
            get { return connectString; }
            set { connectString = value; }
        }
        public Connection()
        {


        }
       
      
        public SqlConnection SqlConnect
        {
            get
            {
                SqlConnection connect = new SqlConnection();
                if (string.IsNullOrEmpty(connectString))
                {
                    connectString = ConfigurationManager.ConnectionStrings["ETU_common_Helper_Connection"].ToString();
                }
               
                return connect;
            }

        }
    }


}

